package com.wcx.imitationwechatbilllist;

import java.util.List;

/**
 * @author: 魏
 * @date: 2025/9/29
 * 数据模型与适配器
 * 账单数据模型
 */
public class BillItem {
    public String month;
    public String date;
    public String description;
    public String amount;

    public List<ItemBean> getList() {
        return list;
    }

    public List<ItemBean> list;
    public boolean isIncome;
    public boolean isHeader;

    public BillItem(){

    }
    public BillItem(String month, boolean isHeader, List<ItemBean> list) {
        this.month = month;
        this.isHeader = isHeader;
        this.list = list;
    }

    // Getter方法
    public String getMonth() { return month; }
    public String getDate() { return date; }
    public String getDescription() { return description; }
    public String getAmount() { return amount; }
    public boolean isIncome() { return isIncome; }
    public boolean isHeader() { return isHeader; }
}